Labels:text | screenshot | diagram OCR: HTML ON THE FLY Web Web server browser CGI-URL CGI application Database HTML Other document HTML documents Figure 1: Almost every Web server supports CGI. A CGI application can access a database and generate an HTML document when requested by a Web server, but the CGI application rens as its own process, which takes time to start.